package com.wise.gemmes.syncInfo;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

@Component
public class Timer {
	
	@Autowired
	SyncInfoController syncInfoController = new SyncInfoController();

	//@Scheduled(cron = "0/50 * * * * ?")
	public void sync() {
		syncInfoController.sync();
	}
}
